import {
  DeviceValueExPageResult,
  DeviceValueExQueryParam,
} from './types';
import request from '@/utils/request';
import {AxiosPromise} from 'axios';


/**
 * 获取实体分页列表
 *
 * @taskParam queryParams
 */
export function DeviceValueExEntityPages(queryParams: DeviceValueExQueryParam): AxiosPromise<DeviceValueExPageResult> {
  return request({
    url: '/kernel/manager/device/value/ex/page',
    method: 'post',
    data: {
      deviceName: queryParams.deviceName,
      manufacturer: queryParams.manufacturer,
      deviceType: queryParams.deviceType,
      objectName: queryParams.objectName,
      pageNum: queryParams.pageNum,
      pageSize: queryParams.pageSize
    },
  });
}
